//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: upimdpref_cb.h 757 2007-05-10 08:19:31Z roger $
//

#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
#include "upimdpref.h"

//extern int check;
int inputstyle;			//输入风格
int letter_select_lookup;	//用字母键选择
int double_pin_input;		//双拼输入
int double_pin_showInfo;		//双拼输入内容时显示提示信息
int cursor_follow;			//光标跟随
int dynamic_adjust_phrasefeq;		//动态调整词频
int autohide_lowfeqword;			//自动隐藏低频词
int dynamic_adjust_wordfeq;			//动态调整字频
int lately_inputword_first;			//最近输入字优先
int candidateword_num;			//每页最多候选字个数
int ch_en_switchkey;			//中英文输入切换键
int enter_define;			//回车键定义
int multicandidate_pagekey;		//多个候选翻页键
int input_No23_candidatekey;		//输入第二第三候选字词键
int phrase_define_wordkey;				//以词定字选字键
int softkeyboard_key;				//软键盘开关键
int GBK_support;					//支持GBK大字符集
int	simplify_chinese;				//输入简体汉字
int itphrase;						//智能词组
int itphrase_automind;				//智能词组自动记忆
int autoadjust_wordorder;			//按前次输入自动调整字序
int digit_follow_letter;		//数字后跟随英文符号
int store_latelyinput_word;		//记忆并可选择最近输入过的字词
int use_mohuyin;				//打开/关闭模糊音
int shengmu_customize;			//声母模糊音设置
int yunmu_customize;			//韵母模糊音设置
int softkeyboard_index;			//软键盘索引
int chinese_symbol;				//中文符号	
int english_default;			//打开时默认为英文输入状态
int vstate_space;				//v状态可输入空格
int most_chinese_num;			//一次输入汉字最多个数
int double_pin_strategy;			//双拼策略


void
data_init(void);
//void 
//open_true();
//void 
//open_false();

void
on_radiobutton3_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton2_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton1_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton4_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_checkbutton1_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton2_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton3_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_comboboxentry1_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_radiobutton5_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton6_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_comboboxentry2_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_comboboxentry3_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_comboboxentry4_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_comboboxentry5_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_comboboxentry6_changed              (GtkComboBoxEntry     *combobox,
                                        gpointer         user_data);

void
on_checkbutton11_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton12_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton13_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton6_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton7_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton8_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton9_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton10_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton14_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton5_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton4_toggled                (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton16_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton17_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton19_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton15_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_radiobutton9_toggled          (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton10_toggled         (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton11_toggled         (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton12_toggled         (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton13_toggled         (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_radiobutton14_toggled         (GtkRadioButton  *radiobutton,
                                        gpointer         user_data);

void
on_checkbutton18_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton20_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton21_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton22_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton23_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton24_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_checkbutton25_toggled               (GtkToggleButton *togglebutton,
                                        gpointer         user_data);

void
on_button1_clicked                     (GtkButton       *button,
                                        gpointer         user_data);

void
on_button2_clicked                     (GtkButton       *button,
                                        gpointer         user_data);

void
on_button3_clicked                     (GtkButton       *button,
                                        gpointer         user_data);
void
on_upimdpref_Window_destroy				(GtkWidget *widget, 
										gpointer 		data);
//void on_callback();

// vi:ts=4:nowrap:cin:expandtab
